.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card-style {
    width: 300px;
    height: 400px;
    padding: 20px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

/* 极简主义风格 */
.minimal {
    background: #f8f9fa;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}
.minimal .preview-content {
    padding: 15px;
    text-align: justify;
}

/* 复古手账风格 */
.vintage {
    background: #f5e6d3;
    font-family: 'Caveat', cursive;
    line-height: 1.8;
    background-image: linear-gradient(to right, #f5e6d3 0%, #e7d9c5 100%);
}
.vintage .preview-content {
    padding: 20px 15px;
    text-indent: 2em;
}

/* 赛博朋克风格 */
.cyberpunk {
    background: #0a0a2e;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.4;
    border: 2px solid #ff009d;
}
.cyberpunk .preview-content {
    padding: 10px;
    text-align: center;
}

/* 诗意田园风格 */
.pastoral {
    background: #e8f5e9;
    font-family: 'Ma Shan Zheng', cursive;
    line-height: 2.0;
    position: relative;
}

.pastoral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(180deg, transparent, transparent 25px, #dcedc8 25px, #dcedc8 26px);
    z-index: 0;
}
.pastoral .preview-content {
    padding: 25px 20px;
    text-align: left;
}

.export-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 响应式布局 */
@media (min-width: 1200px) {
    .gallery-container {
        max-width: 1300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .card-style {
        width: 100%;
        margin: 10px 0;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .card-style {
        width: calc(50% - 20px);
    }
}